package com.docker.fjk.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.docker.fjk.mapper.DockerManagementMapper;
import com.docker.fjk.domain.DockerManagement;
import com.docker.fjk.service.IDockerManagementService;

/**
 * 供应商管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
@Service
public class DockerManagementServiceImpl implements IDockerManagementService 
{
    @Autowired
    private DockerManagementMapper dockerManagementMapper;

    /**
     * 查询供应商管理
     * 
     * @param id 供应商管理主键
     * @return 供应商管理
     */
    @Override
    public DockerManagement selectDockerManagementById(Long id)
    {
        return dockerManagementMapper.selectDockerManagementById(id);
    }

    /**
     * 查询供应商管理列表
     * 
     * @param dockerManagement 供应商管理
     * @return 供应商管理
     */
    @Override
    public List<DockerManagement> selectDockerManagementList(DockerManagement dockerManagement)
    {
        return dockerManagementMapper.selectDockerManagementList(dockerManagement);
    }

    /**
     * 新增供应商管理
     * 
     * @param dockerManagement 供应商管理
     * @return 结果
     */
    @Override
    public int insertDockerManagement(DockerManagement dockerManagement)
    {
        return dockerManagementMapper.insertDockerManagement(dockerManagement);
    }

    /**
     * 修改供应商管理
     * 
     * @param dockerManagement 供应商管理
     * @return 结果
     */
    @Override
    public int updateDockerManagement(DockerManagement dockerManagement)
    {
        return dockerManagementMapper.updateDockerManagement(dockerManagement);
    }

    /**
     * 批量删除供应商管理
     * 
     * @param ids 需要删除的供应商管理主键
     * @return 结果
     */
    @Override
    public int deleteDockerManagementByIds(Long[] ids)
    {
        return dockerManagementMapper.deleteDockerManagementByIds(ids);
    }

    /**
     * 删除供应商管理信息
     * 
     * @param id 供应商管理主键
     * @return 结果
     */
    @Override
    public int deleteDockerManagementById(Long id)
    {
        return dockerManagementMapper.deleteDockerManagementById(id);
    }
}
